<template>
  <div id="app">
    <div class="box-content">
      <router-link to="/about" class="box">
        <div>
          <p class="box-text">关于</p>
        </div>
      </router-link>
      
      <router-link to="/leavemsg" class="box">
        <div>
          <p class="box-text">留言</p>
        </div>
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: ''
}
</script>

<style scoped>
  #app {
    display: flex;
    flex-direction: row;
  }

  .box-content {
    height: 100%;
    width: 40%;
    margin: 0 auto;
    display: flex;

  }

  .box {
    align-self: center;
    width: 40%;
    height: 40px;
    border: 1px solid #fff;
    margin: 0px auto;
  }

  .box-text {
    color: #fff;
    margin: 0px;
    line-height: 40px;
  }

  @media screen and (max-width: 991px) {
    .box-content {
      width: 80%;
    }
  }
</style>
